package com.pine.dcts.task;

/**
 * @author xiaoyuan
 * @create 2021/4/2 15:30
 **/
public interface TaskPool {

    void submit(TaskRunner taskRunner);

    void stop(String taskId);

    boolean isRunning(String taskId);

    void stopAll();

    void shutdown();
}
